//
//  EAddressModel.m
//  Common
//
//  Created by xiang ji on 2018/7/19.
//

#import "EAddressModel.h"

@implementation EProvinceModel


+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"code": @"k",
             @"name": @"v",
             @"city": @"n"
             };
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"city": [ECityModel class]
             };
}

@end


@implementation ECityModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"code": @"k",
             @"name": @"v",
             @"town": @"n"
             };
}

+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{
             @"town": [ETownModel class]
             };
}

@end


@implementation ETownModel

+ (NSDictionary *)modelCustomPropertyMapper {
    return @{
             @"code": @"k",
             @"name": @"v"
             };
}

@end
